package com.taxshare.seller.service;

import com.taxshare.response.beans.Response;
import com.taxshare.seller.constant.CodeConstant;
import com.taxshare.seller.remote.ManagerClientService;
import com.taxshare.tools.token.UserInfoUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: CommService
 * @Description:
 * @author: luozhongyi
 * @date: 2021/4/28 10:42
 */
@Service
@Slf4j
public class CommService {

    @Autowired
    ManagerClientService managerClientService;

    public List<String> getTaxNumbers(){
        //Response response = managerClientService.getTaxNumbers(UserInfoUtil.getUserID(), UserInfoUtil.getUserType());
        /*log.info("UserInfoUtil.getUserID()"+UserInfoUtil.getUserID()+"UserInfoUtil.getUserType()"+UserInfoUtil.getUserType());
        if(CodeConstant.T0000.equals(response.getCode())){
            return (List<String>) response.getData();
        }else {
            return new ArrayList<>();
        }*/
        return new ArrayList<>();
    }
}
